<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: wb32l003_beep.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6d2d5b60bd20db849a9486835a2715aa.html">Libraries</a></li><li class="navelem"><a class="el" href="dir_5ec8cccc32fa528457f3b4ed28e1a2cf.html">WB32L003_StdPeriph_Driver</a></li><li class="navelem"><a class="el" href="dir_cb9a941ec225bfb9bad4e8246158e282.html">inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">结构体</a> &#124;
<a href="#define-members">宏定义</a> &#124;
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">wb32l003_beep.h 文件参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>This file contains all the functions prototypes for the BEEP firmware library.  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;wb32l003.h&quot;</code><br />
</div>
<p><a href="wb32l003__beep_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
结构体</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_b_e_e_p___init_type_def.html">BEEP_InitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">BEEP Init structure definition  <a href="struct_b_e_e_p___init_type_def.html#details">更多...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:ga0ab67ca0aff4cbd64d4785e56a70ea07"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_BEEP_ALL_PERIPH</b>(PERIPH)&#160;&#160;&#160;(((PERIPH) == BEEP))</td></tr>
<tr class="separator:ga0ab67ca0aff4cbd64d4785e56a70ea07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gace24767a8dd37bf7e26509acb2ef9263"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BEEP_ClkSel_STOP</b>&#160;&#160;&#160;((uint32_t)0x00 &lt;&lt; BEEP_CSR_CLKSEL_Pos)</td></tr>
<tr class="separator:gace24767a8dd37bf7e26509acb2ef9263"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaff6f82043133a01d0ce4aee8e6fa07e6"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BEEP_ClkSel_LSI</b>&#160;&#160;&#160;((uint32_t)0x01 &lt;&lt; BEEP_CSR_CLKSEL_Pos)</td></tr>
<tr class="separator:gaff6f82043133a01d0ce4aee8e6fa07e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafb39e1185cec90b8c30656212c09b917"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BEEP_ClkSel_HSE</b>&#160;&#160;&#160;((uint32_t)0x02 &lt;&lt; BEEP_CSR_CLKSEL_Pos)</td></tr>
<tr class="separator:gafb39e1185cec90b8c30656212c09b917"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacc13af005527fb8cd041d2277a32905e"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BEEP_ClkSel_PCLK</b>&#160;&#160;&#160;((uint32_t)0x03 &lt;&lt; BEEP_CSR_CLKSEL_Pos)</td></tr>
<tr class="separator:gacc13af005527fb8cd041d2277a32905e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5283c3ba2750226d1d7fb7e0e254256a"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BEEP_OutDiv8</b>&#160;&#160;&#160;((uint32_t)0x00 &lt;&lt; BEEP_CSR_BEEPSEL_Pos)</td></tr>
<tr class="separator:ga5283c3ba2750226d1d7fb7e0e254256a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga861a46fa7a29e13bc40b58952737d4c7"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BEEP_OutDiv4</b>&#160;&#160;&#160;((uint32_t)0x01 &lt;&lt; BEEP_CSR_BEEPSEL_Pos)</td></tr>
<tr class="separator:ga861a46fa7a29e13bc40b58952737d4c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb7739e86baea3e9bec0b03649075298"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BEEP_OutDiv2</b>&#160;&#160;&#160;((uint32_t)0x02 &lt;&lt; BEEP_CSR_BEEPSEL_Pos)</td></tr>
<tr class="separator:gabb7739e86baea3e9bec0b03649075298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga689e7224b686c1dedef4cb36ab3017f6"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_BEEP_CLK_SEL</b>(SEL)</td></tr>
<tr class="separator:ga689e7224b686c1dedef4cb36ab3017f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab0d45559070e872654e90c3cf0493306"><td class="memItemLeft" align="right" valign="top">
#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_BEEP_PRESCALER</b>(PRESCALER)&#160;&#160;&#160;((PRESCALER) &lt; 4096)</td></tr>
<tr class="separator:gab0d45559070e872654e90c3cf0493306"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacf615ce33b987bb7bde3da0a9fb8fef1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><b>IS_BEEP_OUT_DIV</b>(DIV)</td></tr>
<tr class="separator:gacf615ce33b987bb7bde3da0a9fb8fef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:ga6569658548e8bc3306d2bcc8c2b00b80"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_e_e_p.html#ga6569658548e8bc3306d2bcc8c2b00b80">BEEP_DeInit</a> (<a class="el" href="struct_b_e_e_p___type_def.html">BEEP_TypeDef</a> *BEEPx)</td></tr>
<tr class="memdesc:ga6569658548e8bc3306d2bcc8c2b00b80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the BEEP peripheral registers to their default reset values.  <a href="group___b_e_e_p.html#ga6569658548e8bc3306d2bcc8c2b00b80">更多...</a><br /></td></tr>
<tr class="separator:ga6569658548e8bc3306d2bcc8c2b00b80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga96ad3fb19b4b28913b365083ccf49a5e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_e_e_p.html#ga96ad3fb19b4b28913b365083ccf49a5e">BEEP_Init</a> (<a class="el" href="struct_b_e_e_p___type_def.html">BEEP_TypeDef</a> *BEEPx, <a class="el" href="struct_b_e_e_p___init_type_def.html">BEEP_InitTypeDef</a> *BEEP_InitStruct)</td></tr>
<tr class="memdesc:ga96ad3fb19b4b28913b365083ccf49a5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the BEEP peripheral according to the specified parameters in the BEEP_InitStruct.  <a href="group___b_e_e_p.html#ga96ad3fb19b4b28913b365083ccf49a5e">更多...</a><br /></td></tr>
<tr class="separator:ga96ad3fb19b4b28913b365083ccf49a5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga33ffbae00b8a4a6d1b7658916f5d31de"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_e_e_p.html#ga33ffbae00b8a4a6d1b7658916f5d31de">BEEP_Cmd</a> (<a class="el" href="struct_b_e_e_p___type_def.html">BEEP_TypeDef</a> *BEEPx, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga33ffbae00b8a4a6d1b7658916f5d31de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables BEEP peripheral.  <a href="group___b_e_e_p.html#ga33ffbae00b8a4a6d1b7658916f5d31de">更多...</a><br /></td></tr>
<tr class="separator:ga33ffbae00b8a4a6d1b7658916f5d31de"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>This file contains all the functions prototypes for the BEEP firmware library. </p>
<dl class="section author"><dt>作者</dt><dd>Westberry Application Team </dd></dl>
<dl class="section version"><dt>版本</dt><dd>V0.0.3 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>12-April-2023 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
